package com.yvtian.inv.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yvtian.inv.pojo.InvProductionAcceptanceEntity;
import com.yvtian.inv.pojo.InvProductionAcceptanceItemEntity;

import java.util.ArrayList;

/**
 * 验收单(inv_production_acceptance)表服务接口
 *
 * @author long
 * @since 2024-07-02 13:43:41
 */
public interface InvProductionAcceptanceService extends IService<InvProductionAcceptanceEntity> {

    IPage<InvProductionAcceptanceEntity> findByPage(Page<InvProductionAcceptanceEntity> page, InvProductionAcceptanceEntity invProductionAcceptanceEntity);

    boolean insertOrUpdateAll(InvProductionAcceptanceEntity invProductionAcceptanceEntity);

    boolean handleStorage(InvProductionAcceptanceEntity invProEntity);

    ArrayList<InvProductionAcceptanceItemEntity> computeMaterial(InvProductionAcceptanceEntity invProEntity);
}

